package com.biostime.qdingding.modules.qd.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.biostime.qdingding.common.service.CrudService;
import com.biostime.qdingding.modules.qd.dao.MemberstudentDao;
import com.biostime.qdingding.modules.qd.entity.Memberstudent;

/**
 * 会员学员Service
 * @author king
 * @version 2015-11-20
 */
@Service
@Transactional(readOnly = true)
public class MemberstudentService extends CrudService<MemberstudentDao, Memberstudent> {
	
	public  List<Memberstudent> getByMemberStudent(Memberstudent memberstudent){
		
		return dao.getByMemberStudent(memberstudent);
	}

	public boolean exist(Memberstudent memberstudent) {
		return dao.exist(memberstudent);
	}
}
